<!--[ include file="admin_header_menu.htm" ]--><div style="clear:both"></div>
<div class="admin_content">
<!--[if $_GET.shop_id]-->
<a class="button add" href="<!--[pnmodurl modname='iCarrent' type='admin' func='form' ctrl='Topics' shop_id=$_GET.shop_id]-->"><!--[pnml name='_ICARRENT_ADMIN_LIST_TOPICS_NEWANNOUSE']--></a>
<a class="button add" href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Pickuplocation' shop_id=$_GET.shop_id]-->"><!--[pnml name='Pickup location']--></a>
<!--[else]-->
<a class="button add" href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Shop']-->"><!--[pnml name='_ICARRENT_ADMIN_LIST_TOPICS_ADDTOPICS_SHOP']--></a>
<!--[/if]-->
<a class="button" href="#"><!--[pnml name='_ICARRENT_ADMIN_LIST_TOPICS_LIST']--></a>
<!--[if $_GET.shop_id]--><div class="shop-head" align='center'><!--[get_shop_by_id shop_id=$_GET.shop_id]--></div><!--[/if]-->
<div ><!--[innopager  show=page
                				img_prev="modules/iCarrent/pnimages/back.png"
												img_next="modules/iCarrent/pnimages/next.png"
												rowcount=$pager.numitems
												limit=$pager.itemsperpage
												posvar=startnum
												shift=0
												request_uri=$smarty.server.REQUEST_URI

			]--></div>
<table class="list_category">
  <tr align="center">
    <!--[if !$_GET.shop_id]-->
    <th width="15%" bgcolor="#C7D9EB"><!--[pnml name='_ICARRENT_ADMIN_LIST_TOPICS_SHOP']--></th>
    <!--[/if]-->
    <th width="15%" bgcolor="#C7D9EB"><!--[pnml name='_ICARRENT_ADMIN_LIST_TOPICS_CATEGORY']--></th>
    <th width="20%" bgcolor="#C7D9EB"><!--[pnml name='_ICARRENT_ADMIN_LIST_TOPICS_SUBCATEGORY']--></th>
    <th width="20%" bgcolor="#C7D9EB"><!--[pnml name='_ICARRENT_ADMIN_LIST_TOPICS_BRAND']--></th>
    <th width="20%" bgcolor="#C7D9EB"><!--[pnml name='_ICARRENT_ADMIN_LIST_TOPICS_MODEL']--></th>
    <th width="10%" bgcolor="#C7D9EB"><!--[pnml name='_ICARRENT_ADMIN_LIST_TOPICS_OPERATION']--></th>
  </tr>
<!--[if $objectArray]-->
  <!--[foreach from=$objectArray item=item]-->
  <tr align="center" bgcolor="<!--[cycle values="#FFFFFF,#E8EFF7"]-->">
    <!--[if !$_GET.shop_id]-->
    <td><!--[$item.shop_name]--></td>
    <!--[/if]-->
    <td align="center">
      <!--[$item.category_name]-->
    </td>
    <td align="center">
      <!--[$item.subcategory_name]-->
    </td>
    <td><!--[$item.brand_name]--></td>
    <td>
      <a target="_blank" href="<!--[pnmodurl modname='iCarrent' func='view' ctrl='topics' id=$item.id]-->">
      <!--[$item.model_name]-->
      </a>
    </td>

    <td align="center">
      <!--[if $user.uid eq $item.cr_uid]-->
      <a target="_blank" href="<!--[pnmodurl modname='iCarrent' func='form' type='admin' ctrl='Topics' id=$item.id]-->" title="<!--[pnml name='_ICARRENT_ADMIN_LIST_TOPICS_EDIT']-->"><img src="modules/iCarrent/pnimages/pencil.png" /></a>&nbsp;&nbsp;
      <!--[else]-->
      <img src="modules/iCarrent/pnimages/pencil_delete.png" title="<!--[pnml name='_ICARRENT_ADMIN_LIST_TOPICS_ONLYOWNER']-->"/>&nbsp;&nbsp;
      <!--[/if]-->
      <a href="<!--[pnmodurl modname='iCarrent' type='admin' func='delete' ctrl='Topics' id=$item.id]-->" title="<!--[pnml name='_ICARRENT_ADMIN_LIST_TOPICS_DEL']-->"  onclick="return confirm('Are you sure you want to delete?')"><img src="modules/iCarrent/pnimages/delete.png" /></a>
    </td>
  </tr>
  <!--[/foreach]-->
<!--[else]-->
<tr>
  <td colspan="4" align="center">
    <!--[pnml name='_ICARRENT_ADMIN_EMPTY']-->

  </td>
</tr>
<!--[/if]-->
</table>
				<!--[innopager  show=page
                								img_prev="modules/iCarrent/pnimages/back.png"
												img_next="modules/iCarrent/pnimages/next.png"
												rowcount=$pager.numitems
												limit=$pager.itemsperpage
												posvar=startnum
												shift=0
												request_uri=$smarty.server.REQUEST_URI

				]-->
</div>